package com.iknight.mgr.core.jstree;

/**
 * Created by JERY on 2017/7/17.
 */
public class NodeStatus {
    /**
     * 禁用
     */
    private boolean disabled;

    /**
     * 展开/收缩
     */
    private boolean opened;

    /**
     * 选中
     */
    private boolean selected;

    private boolean checked;

    public NodeStatus(boolean disabled, boolean opened, boolean selected, boolean checked) {
        this.disabled = disabled;
        this.opened = opened;
        this.selected = selected;
        this.checked = checked;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isOpened() {
        return opened;
    }

    public void setOpened(boolean opened) {
        this.opened = opened;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
}
